package pack0807;
import java.util.Scanner;
public class DemoA {
    public static void main(String[] args){
        Scanner a = new Scanner(System.in);
        System.out.print("请输入名字：");
        String name = a.nextLine();
        System.out.print("请输入性别：");
        String sex = a.nextLine();
        System.out.print("请输入年龄：");
        int age = a.nextInt();
        System.out.println("姓名是："+name);
        System.out.println("年龄是："+age);
        System.out.println("性别是："+sex);

    }
}
